package in.co.codedoc.cg;

public class BeanUtil
{
	public static String GetUCased(String text)
	{
		if(text != null)
		{
			char[] chars = text.toCharArray();
			
			if(chars.length > 0)
			{
				chars[0] = Character.toUpperCase(chars[0]);
			}
			
			return new String(chars);
		}
		else
		{
			return null;
		}
	}
	
	public static String GetLCased(String text)
	{
		if(text != null)
		{
			char[] chars = text.toCharArray();
			
			if(chars.length > 0)
			{
				chars[0] = Character.toLowerCase(chars[0]);
			}
			
			return new String(chars);
		}
		else
		{
			return null;
		}
	}
}
